package com.xiao.train.member.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class MemberSendCodeReq {
    @Pattern(regexp = "^1\\d{10}$", message = "手机号码格式错误")
    @NotBlank(message = "[手机号]不能为空")
    String mobile;
}
